﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate.Mapping;
using Konekcija.Core.Reporting.Dto.Application.Configurations;

namespace Konekcija.Core.Reporting.Mappings.Configurations
{
    public class CategorySetToWebsiteMap : ClassMap<CategorySetToWebsite>
    {
        public CategorySetToWebsiteMap()
        {
            Schema("config");
            Table("CategorySetsToWebsites");

            Id(x => x.Id).GeneratedBy.GuidComb().Not.Nullable();
            Map(x => x.CategorySetId).Not.Nullable();
            Map(x => x.WebsiteId).Not.Nullable();
        }
    }
}
